package com.techsoul.module.tms.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.techsoul.common.core.pojo.entity.DataEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;


/**
 * Driver
 *
 * @author zhaowei
 * @since 2021-09-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_dr_driver")
public class Driver extends DataEntity {
    @ApiModelProperty(value = "用户表的编号")

    private String personId;
    @ApiModelProperty(value = "司机是自有还是个体及挂靠承运人")
    @TableField("driver_type")
    private String  driverType;
    private String driverNo;

    @ApiModelProperty(value = "身份证图片地址")

    private String identityCardUrl;

    @ApiModelProperty(value = "驾驶证图片地址")
    @TableField("driver_card_url")
    private String driverCardUrl;

    @ApiModelProperty(value = "挂靠证明图片地址")
    @TableField("reply_prove_url")
    private String replyProveUrl;

    @ApiModelProperty(value = "司机头像")
    @TableField("avatar")
    private String avatar;

    @ApiModelProperty(value = "司机所属车队，可多个")
    @TableField("company_no")
    private String companyNo;

    @ApiModelProperty(value = "与司机有过往来的车队")
    @TableField("familiar_company_no")
    private String familiarCompanyNo;

    @TableField("department_no")
    private String departmentNo;

    @TableField("person_name")
    private String personName;

    @TableField("sex")
    private String sex;

    @ApiModelProperty(value = "身份证号")
    @TableField("identity_card_no")
    private String identityCardNo;

    @TableField("is_marriage")
    private String isMarriage;

    @TableField("education")
    private String education;

    @TableField("address")
    private String address;

    @TableField("health_status")
    private String healthStatus;

    @ApiModelProperty(value = "手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "手机号")
    @TableField("mobile")
    private String mobile;

    @TableField("driver_card_no")
    private String driverCardNo;

    @ApiModelProperty(value = "司机准驾车型")
    @TableField("driver_class")
    private String driverClass;

    @TableField("acquire_date")
    private Date acquireDate;

    @TableField("period_of_validity")
    private Date periodOfValidity;

    @TableField("annual_date")
    private Date annualDate;

    @TableField("work_from_date")
    private Date workFromDate;

    @TableField("resignation_date")
    private Date resignationDate;

    @TableField("deposit")
    private BigDecimal deposit;

    @TableField("note_text")
    private String noteText;

    @ApiModelProperty(value = "认证状态，pending待审核，unpassed未通过，passed已通过")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "是否认证通过")
    @TableField("is_actived")
    private Boolean actived;

    @TableField("version")
    private BigDecimal version;

    @TableField("last_dispatched_tm")
    private Date lastDispatchedTm;

    @ApiModelProperty(value = "历史总接单完成次数")
    @TableField("history_job_count")
    private Integer historyJobCount;

    @TableField("tot_today_job")
    private BigDecimal totTodayJob;

    @TableField("miles_went_this_month")
    private BigDecimal milesWentThisMonth;

    @TableField("truck_no")
    private String truckNo;

    @TableField("vehicle_identity")
    private String vehicleIdentity;

    @TableField("app_yn")
    private String appYn;

    @TableField("car_drive_id")
    private String carDriveId;
    @TableField("est_rt_tm")
    private String estRtTm;

    @TableField("current_drivers_ids")
    private String currentDriversIds;
    @TableField("validation_code")
    private String validationCode;

    @TableField("birthday")
    private String birthday;
    @TableField("age")
    private String age;
    @TableField("entry_date")
    private String entryDate;
    @TableField("transport_team_id")
    private String transportTeamId;
    @TableField("license_number")
    private String licenseNumber;
    @TableField("license_type")
    private String licenseType;
    @TableField("license_start_date")
    private String licenseStartDate;
    @TableField("license_audit_date")
    private String licenseAuditDate;
    @TableField("qualification_audit_date")
    private String qualificationAuditDate;
    @TableField("emergency_mame")
    private String emergencyName;
    @TableField("emergency_phone")
    private String emergencyPhone;
    @TableField("employment_type")
    private String employmentType;
    @TableField("domicile")
    private String domicile;
    @TableField("is_leave")
    private String isLeave;
    @TableField("leave_date")
    private String leaveDate;
    @TableField("bank_card_name")
    private String bankCardName;
    @TableField("bank_card_number")
    private String bankCardNumber;
    @TableField("bank_card_number_state")
    private String bankCardNumberState;
    @TableField("bank_name")
    private String bankName;
}
